<template>
  <div class="myEmial">
    <!-- 导航栏 -->
    <div class="emial-nav">
      <div class="my-back" v-on:click="backFn()">
        <i class="iconfont icon-arrowLeft-fill"></i>
      </div>
      <div class="emial-red">
        <span>消息中心</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {

    };
  },
  methods: {
    backFn() {
      this.$router.go(-1);
    }
  }
}
</script>

<style lang="scss" scoped>
@import "../assets/css/reset.css";

.myEmial{
   width: 100%;
   height: 666px;
   background: #fff;
  .emial-nav{
    height: 50px;
    position: relative;

    div {
      height: 50px;
      position: absolute;
    }
    .my-back {
      width: 50px;
      text-align: center;
      line-height: 50px;
      i {
        font-size: 30px;
      }
    }
    .emial-red {
      width: 100px;
      left: 38%;
      text-align: center;
      line-height: 50px;
      font-size: 20px;
      font-weight: bold;
    }
  }
}
</style>